package com.example.administrator.ygddriver.map;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.administrator.ygddriver.R;

import java.util.List;

public class SendMapPopwRlAdapter extends BaseQuickAdapter<ReachDestinationRequestBean.ResultBean.CostomerWaybillBean, BaseViewHolder> {
    public SendMapPopwRlAdapter(int layoutResId, @Nullable List<ReachDestinationRequestBean.ResultBean.CostomerWaybillBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ReachDestinationRequestBean.ResultBean.CostomerWaybillBean item) {
        helper.setText(R.id.item_activity_send_map_popw_rv_num_tv, item.getC_number() + "件");
        helper.setText(R.id.item_activity_send_map_popw_rv_waybill_tv, item.getC_waybill());
    }
}
